<?php
require '../libs/Smarty.class.php';

require_once '../libs/dbObject.class.php';
require_once '../libs/dbList.class.php';
require_once '../libs/smart_db_mysql.class.php';
require_once '../libs/stdlib.inc.php';

if(!defined("ROOT")) define("ROOT",".");


$smarty = new Smarty;

$db = new smart_DB_Sql();
$db->logFunction="logEvent";
$db->Debug=0;

$db->query("SET NAMES 'utf8'");
$db->query("SET CHARACTER SET utf8");

$years= range(1970,2011);
$months=array(1=>'January','February','March','April','May','June','July','August','September','October','November','December');
$days= range(0,31); unset($days[0]);

$smarty->assign('years',	$years);
$smarty->assign('months',	$months);
$smarty->assign('days',		$days);
function loadPatientDetails($q)
{
	
}
?>